﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： UserGroupRelEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///用户和用户组关联数据实体  
	/// </summary>
    [PrimaryKey("UserGroupID")]
	public class UserGroupRel
	{
		///<summary>
		///用户和用户组关联
		///</summary>
		public UserGroupRel()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("UserGroupID","主键")]
        public int UserGroupID { get; set; }

		///<summary>
		///用户ID
		///</summary>
        [Column("UserID","用户ID")]
        public int UserID { get; set; }

		///<summary>
		///组ID
		///</summary>
        [Column("GroupID","组ID")]
        public int GroupID { get; set; }

		///<summary>
		///逻辑标识
		///</summary>
        [Column("IsActvie","逻辑标识")]
        public int IsActvie { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDate","创建时间")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateDate","更新时间")]
        public DateTime UpdateDate { get; set; }

	}
}